Skip to content

V0.0.5 alpha#282

Merged
rubentalstra merged 9 commits intomainfrom
v0.0.5-alpha
Jan 25, 2026
Merged

V0.0.5 alpha#282
rubentalstra merged 9 commits intomainfrom
v0.0.5-alpha

Conversation

@rubentalstra
Copy link
Owner

This pull request introduces several improvements and refactorings across the codebase, focusing on centralizing application subscriptions, enforcing greenfield development principles (no legacy support), improving code clarity and maintainability, and enhancing validation UI. The most significant change is the extraction and centralization of all Iced subscriptions into a dedicated module, making the codebase cleaner and easier to maintain. Additionally, there are updates to documentation and project policies to strictly prohibit legacy support, as well as minor bug fixes and UI enhancements.

Centralization and Refactoring of Application Subscriptions:

  • Extracted all Iced application subscriptions from app/mod.rs into a new subscription module, providing a single point of management for event subscriptions and improving maintainability. The main App struct now delegates to this module. (crates/tss-gui/src/app/mod.rs, crates/tss-gui/src/app/subscription.rs) [1] [2] [3]

Greenfield Development and No Legacy Support Policy:

  • Added detailed documentation in both CLAUDE.md and .claude/rules/00-deliberation.md explicitly forbidding any form of legacy support, including wrappers, backward compatibility, deprecation notices, migration code, and compatibility shims. The only acceptable approach is full rewrites. (CLAUDE.md, .claude/rules/00-deliberation.md) [1] [2]

Code Simplification and Idiomatic Rust:

  • Refactored numerous pattern matches to use the let ... else idiom for early returns, simplifying control flow and improving code readability in handlers and utility functions. (crates/tss-gui/src/handler/domain_editor.rs, crates/tss-gui/src/handler/export.rs) [1] [2] [3] [4] [5] [6] [7]

Validation UI Enhancements:

  • Improved the domain validation UI to properly support and display informational (Info) severity issues, including filtering, iconography, and color coding. (crates/tss-gui/src/view/domain_editor/validation.rs) [1] [2] [3] [4]

Dependency and Build System Updates:

  • Added the encoding_rs crate as a workspace dependency in Cargo.toml. (Cargo.toml)
  • Commented out the security audit job in the Rust CI workflow, possibly for performance or maintenance reasons. (.github/workflows/rust-ci.yml)

Bug Fixes:

@rubentalstra rubentalstra added this to the v0.0.5-alpha milestone Jan 25, 2026
@rubentalstra rubentalstra merged commit 3c2d4f0 into main Jan 25, 2026
12 checks passed
@rubentalstra rubentalstra deleted the v0.0.5-alpha branch January 25, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment